.v-resize {
  transform: translate(0, 0); //position:fixed 会根据上一个 发生transform的祖先元素定位
  &--resizing {
    transition: none !important;
  }

  &--no-hint {
    > [class^='v-resize'] {
      &:after {
        display: none;
      }
    }
  }


  &__right {
    position: fixed;
    top: 0;
    right: calc(1px - var(--default-padding));
    width: var(--default-padding);
    height: 100%;
    cursor: e-resize;
    z-index: 1000;
    &:after {
      position: relative;
      display: block;
      content: '';
      transform: matrix(0.5, 0, 0, 0.5, 0, -40);
      top: 50%;
      right: -2px;
      width: 8px;
      height: 80px;
      border-radius: 4px;
      background: var(--scrollbar-background-color);
    }
  }

  &__bottom-right {
    position: fixed;
    bottom: -1px;
    right: -1px;
    height: 6px;
    width: 6px;
    cursor: se-resize;
    z-index: 1000;

    &:after {
      position: relative;
      display: block;
      content: '';
      transform: matrix(0.5, 0, 0, 0.5, 0, 0);
      width: 0;
      height: 0;
      right: 12px;
      bottom: 12px;
      border: 10px solid var(--scrollbar-background-color);
      border-top-color: transparent;
      border-left-color: transparent;
      border-radius: 0 0 8px 0;
    }
  }

  &__bottom {
    position: fixed;
    bottom: calc(1px - var(--default-padding));;
    left: 0;
    height: var(--default-padding);
    width: 100%;
    cursor: n-resize;
    z-index: 1000;

    &:after {
      position: relative;
      display: block;
      content: '';
      transform: matrix(0.5, 0, 0, 0.5, -40, 0);
      left: 50%;
      bottom: -2px;
      width: 80px;
      height: 8px;
      border-radius: 4px;
      background: var(--scrollbar-background-color);
    }
  }

}

.v-resize-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999999999;
  display: none;
  user-select: none;
}